package com.pipi.sso.core.service;

import com.pipi.sso.core.model.DormitoryBuildingBO;
import com.pipi.sso.dao.support.PageResult;

import java.util.List;

/**
 * All rights Reserved, Designed By www.maihaoche.com
 *
 * @Package com.pipi.sso.core.service
 * @date: 2019/4/12 8:37 PM
 * @Copyright: 2017-2020 www.maihaoche.com Inc. All rights reserved.
 */
public interface DormitoryBuildingService {

    /**
     * <p> 分页条件查询宿舍楼 </p>
     * @param dormitoryBuildingBO
     * @return PageResult<DormitoryBuildingBO>
     * @throws
     * @date 2019/4/12 8:44 PM
     */
    PageResult<DormitoryBuildingBO> queryByPaged(DormitoryBuildingBO dormitoryBuildingBO);

    /**
     * <p> 条件查询宿舍楼 </p>
     * @param dormitoryBuildingBO
     * @return List<DormitoryBuildingBO>
     * @throws
     * @date 2019/4/12 8:45 PM
     */
    List<DormitoryBuildingBO> queryNoPaged(DormitoryBuildingBO dormitoryBuildingBO);

    /**
     * <p> 添加宿舍楼信息 </p>
     * @param dormitoryBuildingBO
     * @return void
     * @throws
     * @date 2019/4/12 8:45 PM
     */
    void addDormitoryBuilding(DormitoryBuildingBO dormitoryBuildingBO);

    /**
     * <p> 更新宿舍楼信息 </p>
     * @param dormitoryBuildingBO
     * @return void
     * @throws
     * @date 2019/4/12 8:46 PM
     */
    void updateDormitoryBuilding(DormitoryBuildingBO dormitoryBuildingBO);

    /**
     * <p> 批量删除宿舍楼</p>
     * @param dormitoryBuildingIds
     * @return void
     * @throws
     * @date 2019/4/12 8:47 PM
     */
    void deleteDormitoryBuilding(List<Long> dormitoryBuildingIds);
}
